package com.qfedu.dao;

import com.qfedu.entity.Skill;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface SkillDao {

    @Select("select * from t_skill")
    List<Skill> queryAllSkill();

    @Insert("insert into t_skill(content,createTime,u_no) values(#{content},#{createTime},#{u_no})")
    int addSkill(Skill skill);
}
